home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / applic / ncsa / Mac / Telnet2.6 / prerelease / d4 / Telnet2.6.1d4.src.sit.hqx / Telnet 2.6.1d4 source / source / tek / rg0.c next >
Encoding:
C/C++ Source or Header  |  1994-11-18  |  1.2 KB  |  92 lines

  1. /*
  2.  
  3. rgnull.c by Aaron Contorer for NCSA
  4. Copyright 1987, board of trustees, University of Illinois
  5.  
  6. routines for "null" device -- calling these routines
  7.     has no effect, but they are compatible with all RG calls.
  8.  
  9. */
  10.  
  11. #ifdef MPW
  12. #pragma segment TEKNULL
  13. #endif
  14.  
  15. #include "Telnetheader.h"
  16. #include "rg0.proto.h"
  17.  
  18. void    TEKNULLunload(void){}
  19.  
  20. short    RG0newwin(void)
  21. {
  22.     return(0);
  23. }
  24.  
  25. char *RG0devname(void)
  26. {
  27.     return(nil);
  28. }
  29.  
  30. void    RG0oneshort(short x)
  31. {
  32.     UNUSED_ARG(x)
  33. }
  34.  
  35. void    RG0void(void)
  36. {}
  37.  
  38. short    RG0returnshort(short x)
  39. {
  40.     UNUSED_ARG(x)
  41.     return 0;
  42. }
  43.  
  44. short    RG0pencolor(short w, short color)
  45. {
  46.     UNUSED_ARG(w)
  47.     UNUSED_ARG(color)
  48.     return 0;
  49. }
  50.  
  51. short    RG0point(short w, short x, short y)
  52. {
  53.     UNUSED_ARG(w)
  54.     UNUSED_ARG(x)
  55.     UNUSED_ARG(y)
  56.     return 0;
  57. }
  58.  
  59. short    RG0drawline(short w, short a, short b, short c, short d)
  60. {
  61.     UNUSED_ARG(w)
  62.     UNUSED_ARG(a)
  63.     UNUSED_ARG(b)
  64.     UNUSED_ARG(c)
  65.     UNUSED_ARG(d)
  66.     return 0;
  67. }
  68.  
  69. void    RG0dataline(short w, short data, short count)
  70. {
  71.     UNUSED_ARG(w)
  72.     UNUSED_ARG(data)
  73.     UNUSED_ARG(count)
  74. }
  75.  
  76. void    RG0charmode(short w, short rotation, short size)
  77. {
  78.     UNUSED_ARG(w)
  79.     UNUSED_ARG(rotation)
  80.     UNUSED_ARG(size)
  81. }
  82.  
  83. void    RG0info(short w, short a, short b, short c, short d, short v)
  84. {
  85.     UNUSED_ARG(w)
  86.     UNUSED_ARG(a)
  87.     UNUSED_ARG(b)
  88.     UNUSED_ARG(c)
  89.     UNUSED_ARG(d)
  90.     UNUSED_ARG(v)
  91. }
  92.